package com.thinkmore.business.bean;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 用户登录详情表
 */
public class UserLoginDetail {
    private String userId;//用户id
    private LocalDateTime ctime;//登录时间
    private String ip;//ip
    private int loginType;//1pc 2android 3ios 4客户端
    private String browerInfo;//浏览器名称和版本

    public UserLoginDetail(String userId, LocalDateTime ctime, String ip, int loginType, String browerInfo) {
        this.userId = userId;
        this.ctime = ctime;
        this.ip = ip;
        this.loginType = loginType;
        this.browerInfo = browerInfo;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public LocalDateTime getCtime() {
        return ctime;
    }

    public void setCtime(LocalDateTime ctime) {
        this.ctime = ctime;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getLoginType() {
        return loginType;
    }

    public void setLoginType(int loginType) {
        this.loginType = loginType;
    }

    public String getBrowerInfo() {
        return browerInfo;
    }

    public void setBrowerInfo(String browerInfo) {
        this.browerInfo = browerInfo;
    }
}
